package com.lyt.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lyt.common.utils.PageUtils;
import com.lyt.mall.product.entity.AttrGroupEntity;
import com.lyt.mall.product.vo.AttrGroupWithAttrsVO;
import com.lyt.mall.product.vo.SpuItemGroupAttrVO;
import com.lyt.mall.product.vo.SpuItemVO;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author lyt
 * @email liu18004262007@163.com
 * @date 2022-11-02 15:48:25
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    List<AttrGroupWithAttrsVO> getAttrgroupWithAttrsByCatelogId(Long catelogId);

    List<SpuItemGroupAttrVO> getAttrgroupWithSpuId(Long spuId, Long catalogId);
}

